<!DOCTYPE html>
<html>

	<head>
		<meta charset="UTF-8">
		<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
		<title></title>
		<script src="../../js/mui.min.js"></script>
		<link href="../../css/mui.min.css" rel="stylesheet" />
		<link rel="stylesheet" href="../../css/share/common.css" />
		<link rel="stylesheet" href="../../css/share/orderCommon.css" />
		<link rel="stylesheet" href="../../css/shopping/orderDetail.css" />
	</head>

	<body>
		<header class="mui-bar mui-bar-nav" id="header">
			<a class="mui-action-back mui-icon mui-icon-left-nav mui-pull-left header-left"></a>
			<h1 id="title" class="mui-title">订单管理</h1>
		</header>
		<div ng-app="" ng-controller="orderDetail" ng-cloak class="mui-content">
			<div class="main_container">
				<ul class="status">
					<li class="main_staus">
						<span class="spanw">交易状态</span><span style="color: #ff5e5e;">{{orderInfor.cstatus}}</span>
					</li>
					<li class="main_address">
						<span class="spanw">配送方式</span>{{carryType}}<span class="logistics">{{orderInfor.expressCompanyName}}</span>
					</li>
					<li ng-show="showFast">
						<span class="spanw">联系方式</span>{{orderShip.shipname + ' ' + orderShip.phone}}
					</li>
					<li ng-show="showFast">
						<span class="spanw">配送地址</span>{{orderShip.province + ' ' + orderShip.city + ' ' + orderShip.area + ' ' + orderShip.shipaddress}}
					</li>
				</ul>
			</div>
			<div class="main_container">
				<div class="main_con_title clearfix ">
					<span class="main_con_name pull_left">{{marketShop.name}}</span>
				</div>
				<ul class="dingdan" style="clear: both;">
					<li ng-repeat="goods in goodsList">
						<div class="main_content box_orient_h ">
							<div class="main_content_img">
								<img src={{goods.picture}}>
							</div>
							<div class="main_content_con flex-b">
								<div class="main_content_con_title">
									{{goods.ProductName}}
								</div>
								<div class="main_con_Num">
									X{{goods.Number}}
								</div>
								<div class="main_content_con_design">
									<span class="main_design_color"><a ng-hide="goods.ngcolor">颜色:{{goods.SpecColor}};</a><a ng-hide="goods.ngsize"> 尺寸:{{goods.SpecSize}};</a><a ng-hide="goods.ngspec">规格:{{goods.SpecSpec}};</a><a ng-hide="goods.ngmodel">型号:{{goods.SpecModel}}; </a> </span>
								</div>
								<div class="main_con_price">
									￥{{goods.price}}
								</div>
							</div>
						</div>
						<div class="gift" ng-repeat="gift in goods.giftList">
							<span>赠品</span> {{gift.name}} {{gift.price}}
						</div>
						<div class="gift" ng-repeat="change in goods.exchangeList">
							<span>换购</span> {{change.name}} {{change.price}}
						</div>
					</li>
				</ul>
				<div class="pay_way" style="margin-top:-5px;">
					付款方式 <span style="color:#ff5e5e;padding-left: 45px;">{{orderInfor.payModel}}</span>
				</div>
				<div class="paylist">
					<span>{{orderInfor.quantity}}件商品合计：</span>￥{{orderInfor.ptotal}}
				</div>
				<div class="paylist">
					<span>运费：</span>+￥{{orderInfor.fee}}
				</div>
				<div class="paylist">
					<span>折扣：</span>-￥{{orderInfor.discountPay}}
				</div>
				<div class="paylist">
					<span>立减金额：</span>-￥{{orderInfor.reduceAmount}}
				</div>
				<div class="pay_way" style=" border-top: 1px solid #e9e9e9;">
					<span style="width:100px;display: inline-block;">订单总额：</span>￥{{heji}}（含运费￥{{orderInfor.fee}}）
				</div>
				<div class="pay_way">
					<span style="width:100px;display: inline-block;">已付金额：</span>￥{{orderInfor.payAmount}}
				</div>
				<div class="pay_way" style=" border-bottom: 1px solid #e9e9e9;">
					<span style="width:100px;display: inline-block;">应付金额：</span>￥{{orderInfor.amountPayable}}
				</div>
				<!--<div  class="main_totail addborder">
					共<span>{{orderInfor.quantity}}</span>件商品  合计：<span>￥{{orderInfor.amount}}(含运费￥{{orderInfor.fee}})</span>
					</div>-->
				<div ng-show="orderInfor.isShow" class="main_operate addborde clearfix">
					<button class="btns dqx-{{orderInfor.btnstatus}}" ng-click="cancle(orderInfo.orderId)">
							取消订单
						</button>
					<button class="btns dpj-{{orderInfor.btnstatus}}" ng-show="orderInfor.btn" ng-click="pj()">
							订单评价
						</button>
					<button class="btns dfk-{{orderInfor.btnstatus}}" ng-click="pay()">
							付款
						</button>
					<button class="btns dsh-{{orderInfor.btnstatus}} dfh-{{orderInfor.btnShow}}" ng-click="check()">
							确认收货
						</button>
					<!--	<button class="btns dth-{{orderInfor.btnstatus}}" ng-click="callTui()">
						申请退货
						</button>-->
					<button class="btns ddel-{{orderInfor.btnstatus}}" ng-click="del(orderInfo.orderId)">
							<!--完成取消关闭删除显示-->
							删除订单
						</button>
					<button class="btns dbuy-{{orderInfor.btnstatus}}" ng-click="buyAgain()">
							再次购买
						</button>
				</div>
			</div>
			<!--发票信息-->
			<div class="main_container">
				<div class="main_fapiao clearfix">
					<div class="pull_left">
						发票信息
					</div>
					<ul class="pull_right">
						<li id="first">
							{{invoice.invoicetype}}
						</li>
						<li>
							{{invoice.invoicehead}}
						</li>
						<li>
							{{invoice.invoicecontent}}
						</li>
					</ul>
				</div>
			</div>
			<!--订单信息-->
			<ul class="main_con">
				<li>
					订单编号：{{orderInfor.orderNumber}}
				</li>
				<li ng-show="fast">
					物流单号：{{orderInfor.expressNo}}
				</li>
				<li>
					创建时间：{{orderInfor.createdate}}
				</li>
				<li ng-repeat="payhistory in orderInfor.payList">
					付款时间：{{payhistory.createTime}}付款￥{{payhistory.payAmount}}
				</li>

			</ul>

		</div>
		<script type="text/javascript" src="../../js/common.js"></script>
		<script type="text/javascript" src="../../js/angular.min.js"></script>
		<script type="text/javascript" src="../../js/localData.js"></script>
		<script type="text/javascript" src="../../js/md5.js"></script>
		<script type="text/javascript" src="../../js/request.js"></script>
		<script type="text/javascript" src="../../script/shopping/orderDetail.js"></script>
	</body>

</html>